// zyCapture 插件简化版本
(function() {
  window.zyCapture = {
    getInstance: function(config) {
      console.log('zyCapture 插件初始化', config);
      
      // 简单实现
      const zyInstance = {
        config: config || {},
        capture: function() {
          console.log('zyCapture capture called');
          return true;
        },
        uploadImage: function() {
          console.log('zyCapture uploadImage called');
          return true;
        }
      };
      
      // 将实例挂载到window上
      window.zyInstance = zyInstance;
      
      return zyInstance;
    }
  };
})();